import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Demo2 {

    public static void main(String[] args) {
        //下面的消息将被输出
        log.info("this is an info");
        log.warn("this is a warn");
        log.error("this is an error");

    }
}
